//
//  OrderDetailBottomView.m
//  BaseProject
//
//  Created by 王洋 on 2020/9/17.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "OrderDetailBottomView.h"

@implementation OrderDetailBottomView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        
        [self.btn1 pp_clipCorners:UIRectCornerAllCorners radius:15 border:0.1 color:UIColorHex(0x999999)];
        
    });
}

- (IBAction)btn1Action:(id)sender {
    if (self.OrderDetailBottomViewBlock) {
        self.OrderDetailBottomViewBlock(0);
    }
}

- (IBAction)btn2Action:(id)sender {
    if (self.OrderDetailBottomViewBlock) {
        self.OrderDetailBottomViewBlock(1);
    }
}



@end
